package com.showcai.dao;


import com.showcai.module.vo.News;

import java.util.List;
import java.util.Map;

public interface NewsMapper {

    int insertNews(News record);
    int deleteNews(Long newId);



    int updateNewsByPrimaryKeySelective(News record);


    int updateNewsById(News record);


    List<News> getNewsRecommendList(Map<String, String> map);
    List<News> getNewsList(Map<String, String> map);
    News getNews(Map<String, String> map);
}